package com.rayenterprise.kms.events;

import com.google.gwt.event.shared.GwtEvent;
import com.rayenterprise.kms.widgets.AbstractCustomNode;


public class AfterGenreNodeChangeEvent extends GwtEvent<AfterGenreNodeChangeEventHandler> {
	
	public static final GwtEvent.Type<AfterGenreNodeChangeEventHandler> TYPE = new GwtEvent.Type<AfterGenreNodeChangeEventHandler>();
	

	

	public AfterGenreNodeChangeEvent(AbstractCustomNode node){
		this.node  = node;		
	}

	@Override
	protected void dispatch(AfterGenreNodeChangeEventHandler handler) {
		// TODO Auto-generated method stub
		handler.genreNodeChange(this);
	}

	@Override
	public com.google.gwt.event.shared.GwtEvent.Type<AfterGenreNodeChangeEventHandler> getAssociatedType() {
		// TODO Auto-generated method stub
		return TYPE;
	}
	private AbstractCustomNode node;
	
	public AbstractCustomNode getNode() {
		return node;
	}

	public void setNode(AbstractCustomNode node) {
		this.node = node;
	}
}
